package com.shkco.xbjcc.service.impl;

import com.shkco.xbjcc.domain.UserIntegral;
import com.shkco.xbjcc.mapper.UserIntegralMapper;
import com.shkco.xbjcc.service.IUserIntegralService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whale
 * @since 2022-10-05
 */
@Service
public class UserIntegralServiceImpl extends ServiceImpl<UserIntegralMapper, UserIntegral> implements IUserIntegralService {

    @Autowired
    private UserIntegralMapper userIntegralMapper;

    @Override
    public UserIntegral findByUsername(String username) {
        return userIntegralMapper.findByUsername(username);
    }
}
